Measurement of stroke volume